<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>跳转提示</title>
<style type="text/css">
#erro_msg_main{margin:50px 0;padding:50px 0 80px;border:1px solid #DEDEDE;text-align:center;background-color:#F8F8F8;}
#erro_msg_main dl{width:522px;margin:0 auto;padding:30px 100px 50px;border:1px solid #EEE;text-align:left;background:#FFF url(http://admin.m.xywy.com/Public/Images/admin/icon_notice.gif) no-repeat scroll 30px 32px;}
#erro_msg_main .icon_error{background-image:url(http://admin.m.xywy.com/Public/Images/admin/icon_error.gif);}
#erro_msg_main .icon_success{background-image:url(http://admin.m.xywy.com/Public/Images/admin/icon_success.gif);}
#erro_msg_main dt{margin-bottom:5px;padding:2px 0 5px;line-height:1.2em;font-size:14px;font-weight:bold;}
#erro_msg_main .icon_warning dt{color:#e46a01;}
</style>
</head>
<body>
<div class="middle">
	<div id="erro_msg_main">
	  <div class="colboxcontent">
	    <dl <?php if($status == '1'){ echo 'class="icon_success"'; }elseif($status == '0') {echo 'class="icon_error"';  } ?>>
	      <dt><?php echo  isset($message)?$message:'';?></dt>
	      <dt><?php echo  isset($error)?$error:'';?></dt>
	      <dt>页面自动 <a id="href" href="<?php echo($jumpUrl); ?>">跳转</a> 等待时间： <b id="wait"><?php echo($waitSecond); ?></b></dt>
		<dt>点击<a href="<?php echo  $jumpUrl; ?>">这里</a>直接跳转</dt>
	    </dl>
	  </div>
	</div>
</div>
<script type="text/javascript">
(function(){
var wait = document.getElementById('wait'),href = document.getElementById('href').href;
var interval = setInterval(function(){
	var time = --wait.innerHTML;
	if(time <= 0) {
		location.href = href;
		clearInterval(interval);
	};
}, 1000);
})();
</script>
</body>
</html>